﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SuperviseAdd.aspx.cs" Inherits="Manage_SuperviseAdd" %>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">

    <script language="vbscript" type="text/vbscript">
        Sub AreaSelect(byval id)
            Dim strReturnValue
	        strReturnValue = showModalDialog("../System/AreaSelect.aspx?ROOT=" & id,null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
	        If Len(strReturnValue) > 0 Then
	            document.all("AreaId").value = Split(strReturnValue,vbCrLf)(0)
	            document.all("AreaName").value = Split(strReturnValue,vbCrLf)(1)
	        End If
        End Sub
    </script>

    <script language="vbscript" src="../Common/yz.vbs">
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <br>
            <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2" id="tabData">
                <tr>
                    <td class="table_td3">
                        用户名称</td>
                    <td class="table_td2">
                        <asp:TextBox ID="AccountName" runat="server" NotNull="用户名称" InvertedComma="用户名称"></asp:TextBox><span
                            style="color: #ff0000">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        密码</td>
                    <td class="table_td2">
                        <asp:TextBox ID="Pwd_Bid" runat="server" NotNull="密码" InvertedComma="密码"></asp:TextBox><span
                            style="color: #ff0000">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        监督机构名称
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtSuperviseName" NotNull="监督机构名称" InvertedComma="监督机构名称"></asp:TextBox>
                        <span style="color: #ff0000">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        用户编码
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="txtUserCode" NotNull="用户编码" InvertedComma="用户编码"></asp:TextBox>
                        <span style="color: #ff0000">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 28px">
                        所属地区
                    </td>
                    <td class="table_td2" style="height: 28px">
                        <input name="AreaName" type="text" readonly="readOnly" NotNull="所属地区" />
                        <input name="AreaId" type="hidden" style="width: 6px" />
                        <a href="javascript:AreaSelect(530000)">选择地区</a> <span style="color: #ff0000">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3">
                        级别：
                    </td>
                    <td class="table_td2">
                        <asp:RadioButtonList ID="RadioClass" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Text="省级" Value="1"></asp:ListItem>
                            <asp:ListItem Text="市级" Value="2" Selected=True></asp:ListItem>
                            <asp:ListItem Text="县级" Value="3"></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        联系地址：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Address" MaxLength="300" InvertedComma="联系地址"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        邮政编码：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="PostCode" MaxLength="10" InvertedComma="邮政编码"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        联系人：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="SuperviseMan" MaxLength="40" InvertedComma="联系人"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        联系电话：</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Telephone" MaxLength="50" InvertedComma="联系电话"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        企业传真：</td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Fax" MaxLength="50" InvertedComma="企业传真"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        Email：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="Email" MaxLength="50" InvertedComma="Email"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3">
                        网址：
                    </td>
                    <td class="table_td2">
                        <asp:TextBox runat="server" ID="NetAddress" MaxLength="50" InvertedComma="网址"></asp:TextBox>
                    </td>
                </tr>
                <tr align="center">
                    <td class="table_td3">
                        <asp:Button ID="BtnSave" CssClass="button_bg"  runat="server" Text="保  存" OnClick="BtnSave_Click" OnClientClick="javascript:return CheckForm()" /></td>
                    <td class="table_td2">
                        <input id="Button2"   class="button_bg"  type="button" value="关  闭" onclick="window.close()" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
